home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / vdtj122b.zip / DEMO7.VDM < prev    next >
Text File  |  1992-11-30  |  3KB  |  86 lines

  1. RI(9)/VEDIT Family - Printing/
  2. M(H)            !Display header
  3.  
  4. Q23YEA            !Use highlight attribute
  5. YEN YT/                  --- WARNING !!! ---/ YEN
  6. Q27YEA            !Restore attribute
  7.  
  8. YT/
  9. Do not run this part of the demo if you do not have a printer connected!!
  10.  
  11. (Attempting to do so may "hang" the computer and force you to "Reboot".)
  12.  
  13. You can print the entire file being edited or just a portion of it.  Printing
  14. is normally 60 lines per page with a 10 column (1 inch) left margin and
  15. without a header or page numbers.
  16.  
  17. VEDIT and VEDIT PLUS are supplied with the print "macro" PRINT.VDM which can
  18. be used to print an entire file with a header on each page.  The header
  19. consists of the file name, the date and the page number.
  20.  
  21.     --- Press <Esc> if you do not have a printer connected ---
  22.  
  23.     --- OR  Press <Enter> to continue ---
  24. /
  25.  
  26. XK(0)//
  27. (Q0 = 27) [ RJ(Z) ]    !Back to main menu if <Esc> was pressed
  28.  
  29. 9XS(100)        !Need 9 line window
  30. M(W)            !Create instruction window; set attributes
  31. EZY            !Empty edit buffer
  32. EB demo.txt        !Load demo text
  33.  
  34. EE(1)
  35. B#K
  36. I/To print press <Alt-P> for the {PRINT} sub-menu.  To print the entire file
  37. press "A" to select "All".
  38.  
  39. You can stop the printing before it is done by pressing <Ctrl-C>.
  40.  
  41. When necessary, you can advance the printer to the top of the next page by
  42. pressing <Alt-P> and then "E" to select "Eject".  This is also a convenient
  43. way of sending a blank page through the printer.
  44.         --- Press <Esc> to continue ---/
  45.  
  46. B -V            !Display instructions
  47. EE(@)            !Back to main text
  48. V
  49.  
  50. EE(1)
  51. B#K
  52. I/To print a portion of the file, move the cursor to the FIRST character to be
  53. printed.  Then press <F9> to set the 1st marker and begin highlighting.
  54. Next, move the cursor one position PAST the LAST character to be printed.
  55. (Generally, this will be the beginning of the next line.)  Press <Alt-P> and
  56. "B" again (or press the "hot key" <Ctrl-P> which directly accesses the {PRINT,
  57. Block} function).  The text will start printing.
  58.  
  59. You may want to press <Alt-P> and "E" to advance the printer to the top of
  60. the next page.        --- Press <Esc> to continue ---/
  61.  
  62. B -V
  63. EE(@)
  64. V
  65.  
  66. +RL(p) print.vdm        !Load the print macro
  67.  
  68. EE(1)
  69. B#K
  70. I/This demo has loaded the print "macro" PRINT.VDM for you.  The following
  71. steps let you print the entire file using this macro.
  72.  
  73. Press <Alt-M> for the {MISC} sub-menu.  Select "Execute Macro".  At the
  74. prompt press "P".  The file should begin printing.
  75.  
  76. Notice how the printed pages now have the file name, date and page number at
  77. the top.
  78.         --- Press <Esc> to return to the Main Menu ---/
  79.  
  80. B -V
  81. EE(@)
  82. V
  83.  
  84. EZY
  85. RE(P)
  86.